<?php
$tdatalienketweb=array();
	$tdatalienketweb[".NumberOfChars"]=80; 
	$tdatalienketweb[".ShortName"]="lienketweb";
	$tdatalienketweb[".OwnerID"]="";
	$tdatalienketweb[".OriginalTable"]="lienketweb";


	
//	field labels
$fieldLabelslienketweb = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelslienketweb["English"]=array();
	$fieldToolTipslienketweb["English"]=array();
	$fieldLabelslienketweb["English"]["tenwebsite"] = "Tenwebsite";
	$fieldToolTipslienketweb["English"]["tenwebsite"] = "";
	$fieldLabelslienketweb["English"]["link"] = "Link";
	$fieldToolTipslienketweb["English"]["link"] = "";
	if (count($fieldToolTipslienketweb["English"])){
		$tdatalienketweb[".isUseToolTips"]=true;
	}
}


	
	$tdatalienketweb[".NCSearch"]=true;

	

$tdatalienketweb[".shortTableName"] = "lienketweb";
$tdatalienketweb[".nSecOptions"] = 0;
$tdatalienketweb[".recsPerRowList"] = 1;	
$tdatalienketweb[".tableGroupBy"] = "0";
$tdatalienketweb[".mainTableOwnerID"] = "";
$tdatalienketweb[".moveNext"] = 1;




$tdatalienketweb[".showAddInPopup"] = false;

$tdatalienketweb[".showEditInPopup"] = false;

$tdatalienketweb[".showViewInPopup"] = false;


$tdatalienketweb[".fieldsForRegister"] = array();

$tdatalienketweb[".listAjax"] = false;

	$tdatalienketweb[".audit"] = false;

	$tdatalienketweb[".locking"] = false;
	
$tdatalienketweb[".listIcons"] = true;
$tdatalienketweb[".edit"] = true;
$tdatalienketweb[".inlineEdit"] = true;
$tdatalienketweb[".view"] = true;

$tdatalienketweb[".exportTo"] = true;

$tdatalienketweb[".printFriendly"] = true;

$tdatalienketweb[".delete"] = true;

$tdatalienketweb[".showSimpleSearchOptions"] = false;

$tdatalienketweb[".showSearchPanel"] = true;


$tdatalienketweb[".isUseAjaxSuggest"] = true;

$tdatalienketweb[".rowHighlite"] = true;


// button handlers file names

$tdatalienketweb[".addPageEvents"] = false;

$tdatalienketweb[".arrKeyFields"][] = "tenwebsite";
$tdatalienketweb[".arrKeyFields"][] = "link";

// use datepicker for search panel
$tdatalienketweb[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdatalienketweb[".isUseTimeForSearch"] = false;

$tdatalienketweb[".isUseiBox"] = false;



$tdatalienketweb[".isUseInlineAdd"] = true;

$tdatalienketweb[".isUseInlineEdit"] = true;
$tdatalienketweb[".isUseInlineJs"] = $tdatalienketweb[".isUseInlineAdd"] || $tdatalienketweb[".isUseInlineEdit"];

$tdatalienketweb[".allSearchFields"] = array();

$tdatalienketweb[".globSearchFields"][] = "tenwebsite";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tenwebsite", $tdatalienketweb[".allSearchFields"]))
{
	$tdatalienketweb[".allSearchFields"][] = "tenwebsite";	
}
$tdatalienketweb[".globSearchFields"][] = "link";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("link", $tdatalienketweb[".allSearchFields"]))
{
	$tdatalienketweb[".allSearchFields"][] = "link";	
}


$tdatalienketweb[".googleLikeFields"][] = "tenwebsite";
$tdatalienketweb[".googleLikeFields"][] = "link";



$tdatalienketweb[".advSearchFields"][] = "tenwebsite";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("tenwebsite", $tdatalienketweb[".allSearchFields"])) 
{
	$tdatalienketweb[".allSearchFields"][] = "tenwebsite";	
}
$tdatalienketweb[".advSearchFields"][] = "link";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("link", $tdatalienketweb[".allSearchFields"])) 
{
	$tdatalienketweb[".allSearchFields"][] = "link";	
}

$tdatalienketweb[".isTableType"] = "list";


	

$tdatalienketweb[".isDisplayLoading"] = true;

$tdatalienketweb[".isResizeColumns"] = false;





$tdatalienketweb[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatalienketweb[".strOrderBy"] = $gstrOrderBy;
	
$tdatalienketweb[".orderindexes"] = array();

$tdatalienketweb[".sqlHead"] = "SELECT tenwebsite,  link";
$tdatalienketweb[".sqlFrom"] = "FROM lienketweb";
$tdatalienketweb[".sqlWhereExpr"] = "";
$tdatalienketweb[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatalienketweb[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatalienketweb[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "tenwebsite";
	$tableKeys[] = "link";
	$tdatalienketweb[".Keys"] = $tableKeys;

//	tenwebsite
	$fdata = array();
	$fdata["strName"] = "tenwebsite";
	$fdata["ownerTable"] = "lienketweb";
		$fdata["Label"]="Tenwebsite"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "tenwebsite";
	
		$fdata["FullName"]= "tenwebsite";
	
		
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatalienketweb["tenwebsite"]=$fdata;
//	link
	$fdata = array();
	$fdata["strName"] = "link";
	$fdata["ownerTable"] = "lienketweb";
		$fdata["Label"]="Link"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "link";
	
		$fdata["FullName"]= "link";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=200";
		
		$fdata["bListPage"]=true; 
	
		$fdata["bAddPage"]=true; 
	
		$fdata["bInlineAdd"]=true; 
	
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		$fdata["bPrinterPage"]=true; 
	
		$fdata["bExportPage"]=true; 
	
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatalienketweb["link"]=$fdata;

	
$tables_data["lienketweb"]=&$tdatalienketweb;
$field_labels["lienketweb"] = &$fieldLabelslienketweb;
$fieldToolTips["lienketweb"] = &$fieldToolTipslienketweb;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["lienketweb"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["lienketweb"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto40=array();
$proto40["m_strHead"] = "SELECT";
$proto40["m_strFieldList"] = "tenwebsite,  link";
$proto40["m_strFrom"] = "FROM lienketweb";
$proto40["m_strWhere"] = "";
$proto40["m_strOrderBy"] = "";
$proto40["m_strTail"] = "";
$proto41=array();
$proto41["m_sql"] = "";
$proto41["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto41["m_column"]=$obj;
$proto41["m_contained"] = array();
$proto41["m_strCase"] = "";
$proto41["m_havingmode"] = "0";
$proto41["m_inBrackets"] = "0";
$proto41["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto41);

$proto40["m_where"] = $obj;
$proto43=array();
$proto43["m_sql"] = "";
$proto43["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto43["m_column"]=$obj;
$proto43["m_contained"] = array();
$proto43["m_strCase"] = "";
$proto43["m_havingmode"] = "0";
$proto43["m_inBrackets"] = "0";
$proto43["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto43);

$proto40["m_having"] = $obj;
$proto40["m_fieldlist"] = array();
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "tenwebsite",
	"m_strTable" => "lienketweb"
));

$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto40["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "link",
	"m_strTable" => "lienketweb"
));

$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto40["m_fieldlist"][]=$obj;
$proto40["m_fromlist"] = array();
												$proto49=array();
$proto49["m_link"] = "SQLL_MAIN";
			$proto50=array();
$proto50["m_strName"] = "lienketweb";
$proto50["m_columns"] = array();
$proto50["m_columns"][] = "id";
$proto50["m_columns"][] = "tenwebsite";
$proto50["m_columns"][] = "link";
$obj = new SQLTable($proto50);

$proto49["m_table"] = $obj;
$proto49["m_alias"] = "";
$proto51=array();
$proto51["m_sql"] = "";
$proto51["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto51["m_column"]=$obj;
$proto51["m_contained"] = array();
$proto51["m_strCase"] = "";
$proto51["m_havingmode"] = "0";
$proto51["m_inBrackets"] = "0";
$proto51["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto51);

$proto49["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto49);

$proto40["m_fromlist"][]=$obj;
$proto40["m_groupby"] = array();
$proto40["m_orderby"] = array();
$obj = new SQLQuery($proto40);

$queryData_lienketweb = $obj;
$tdatalienketweb[".sqlquery"] = $queryData_lienketweb;

$tableEvents["lienketweb"] = new eventsBase;

?>
